import { getDictCustomStyle } from "../utils";
import { partyStatusDict } from "../dict";
export default defineComponent({
  props: {
    status: {
      type: Number,
      default: 1,
    },
  },
  setup(props, { attrs, emit, expose, slots }) {
    return () => (
      <>
        <div {...attrs} style={getDictCustomStyle(partyStatusDict, props.status)}>
          {selectDictLabel(partyStatusDict, props.status)}
        </div>
      </>
    );
  },
});
